<template>
  <div>我是A组件</div>
  <button
    @click="
      () =>
        setUserInfo({
          name: 'jack',
          mobile: '1300000000'
        })
    "
  >
    login
  </button>
  <p>token:{{ token }}</p>
</template>

<script setup lang="ts">
import { setUserInfo, token } from '@/store'
</script>

<style scoped lang="scss"></style>
